package com.pan.dao.order1;

import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface OrderTable1UpdateDao{
    Integer updateUserId(Long id, Long userId);
    Integer updateTotalAmount(Long id, Double totalAmount);
    Integer updatePayAmount(Long id, Double payAmount);
    Integer updateFreightAmount(Long id, Double freightAmount);
    Integer updatePriceReduction(Long id, Double priceReduction);
    Integer updateScorePriceReduction(Long id, Double scorePriceReduction);
    Integer updateCouponPriceReduction(Long id, Double couponPriceReduction);
    Integer updatePayType(Long id, Integer payType);
    Integer updateOrder1Status(Long id, Integer order1Status);
    Integer updateDistrictId(Long id, Integer districtId);
    Integer updateAddress(Long id, String address);
    Integer updateCreateDate(Long id, Timestamp createDate);
    Integer updatePayDate(Long id, Timestamp payDate);
    Integer updateDeliveryDate(Long id, Timestamp deliveryDate);
    Integer updateConfrimDate(Long id, Timestamp confrimDate);
    Integer updateModifyDate(Long id, Timestamp modifyDate);
}